package com.lei.sandbox.security;

import java.security.Permission;


/**
 * @author lei
 */
public class DenySecurityManager extends SecurityManager{


    // 检查所有的权限
    @Override
    public void checkPermission(Permission perm) {
        throw new SecurityException("权限异常：" + perm.toString());
    }

}
